package com.xinminda.dcf.app;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import com.orhanobut.logger.Logger;

public class App extends Application {
    private static Context context;
    private static String TAG = "dz";

    @Override
    public void onCreate() {
        super.onCreate();
        Logger.init(TAG);
        this.context = this;
    }

    public static Context getAppContext(){
        return context;
    }

    public static Resources getAppResources() {
        return context.getResources();
    }
}
